package generation.transition;

import generation.scale.Scale;
import util.Utils;

public class RandomWalkNoteTransition implements Transition {

	@Override
	public String nextStep(String previousStep, Scale scale) {
		String[] notes = scale.getTunes();
		return notes[Utils.random(notes.length)];
	}

	@Override
	public String firstStep(Scale scale) {
		String[] notes = scale.getTunes();
		return notes[Utils.random(notes.length)];
	}

}
